pkgname=device-oneplus-bacon
pkgver=1
pkgrel=4
pkgdesc="OnePlus One"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-oneplus-bacon linux-firmware mkbootimg"
makedepends=""
install=""
subpackages=""
source="deviceinfo 90-android-touch-dev.rules"
options="!check"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}

sha512sums="96fb5b0c88b54e755d4065bafe5ac220294234b846a0b90810aedd6ee2fef544c9382c8277b757b4108e6bb05dcca4f1c90c5290a77d9d6c730f3c542066ca69  deviceinfo
480b88b2dff7083659a524880c15c9a921d49057fce8f9d6ea876ead31d1aa61b7e5c44fd6866dcfdac7dacb98f882f426dbf6f8822f6727670fbd603f4da865  90-android-touch-dev.rules"
